package com.ruicar.afs.cloud.filecenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Blob;

/**
 * FileChunkInfo
 * <p>Description: </p>
 *
 * @author Fzero
 * @version 1.0
 * @date create on 20200102 12:23:45
 * @since 1.0
 */
@Data
@TableName(value = "afs_file_chunked_info",autoResultMap = true)
public class AfsFileChunkInfo {
    /**
     * The Id.
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 分片上传时文件id
     */
    private String chunkedId;

    /**
     * Chunked index
     * <p>Description: </p>
     */
    private Integer chunkedIndex;
    /**
     * Chunked file path
     * <p>Description: </p>
     */
    private String chunkedFilePath;

    /**
     * Delete time
     * <p>Description: </p>
     */
    private Long deleteTime;

    private byte[] chunkedValue;
}
